home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / AMOS / AMOSList-0697 / AMOSLIST / text0146.txt < prev    next >
Encoding:
Text File  |  1997-07-03  |  988 b   |  21 lines

  1. I am considering developing a Stellar 7 -style game, and I need 3D
  2. projection routines for that. I have read that a basic projection
  3. formula would be:
  4. Xscreen = (D*X)/(Z+D)
  5. Yscreen = (D*Y)/(Z+D)
  6. where X, Y and Z are the 3D coordinates and D is the distance of the
  7. eye from the screen. However, these routines tend to elongate objects
  8. in the distance. Is there any way to use more realistic formulas?
  9.  
  10.  
  11. /----------------------------------------------------------------------\
  12. | Joona Palaste                             |      |  |                |
  13. | palaste@cc.helsinki.fi                    |      |  |                |
  14. | G++ FR FW+ M- #20 D+ ADA N+++ W++ B OP+   |-------  -----------------|
  15. |                                           |-------  -----------------|
  16. |                                           |      |  |                |
  17. | Finland rules! =>                         |      |  |                |
  18. \----------------------------------------------------------------------/
  19.  
  20.  
  21.